package com.lianda.java8.functional.base;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;

//测试项
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Item {
    private String var1;
    private String var2;
    private String var3;
    private String var4;
    private String var5;
    private String var6;
    private String var7;
    private String var8;
    private String var9;
    private String var10;

    public String getVar1() {
        return this.var1;
    }

    public String getVar2() {
        return this.var2;
    }

    public String getVar3() {
        return this.var3;
    }

    public String getVar4() {
        return this.var4;
    }

    public String getVar5() {
        return this.var5;
    }

    public String getVar6() {
        return this.var6;
    }

    public String getVar7() {
        return this.var7;
    }

    public String getVar8() {
        return this.var8;
    }

    public String getVar9() {
        return this.var9;
    }

    public String getVar10() {
        return this.var10;
    }

    public void setVar1(String var1) {
        this.var1 = var1;
    }

    public void setVar2(String var2) {
        this.var2 = var2;
    }

    public void setVar3(String var3) {
        this.var3 = var3;
    }

    public void setVar4(String var4) {
        this.var4 = var4;
    }

    public void setVar5(String var5) {
        this.var5 = var5;
    }

    public void setVar6(String var6) {
        this.var6 = var6;
    }

    public void setVar7(String var7) {
        this.var7 = var7;
    }

    public void setVar8(String var8) {
        this.var8 = var8;
    }

    public void setVar9(String var9) {
        this.var9 = var9;
    }

    public void setVar10(String var10) {
        this.var10 = var10;
    }

    public boolean equals(final Object o) {
        if (o == this) return true;
        if (!(o instanceof Item)) return false;
        final Item other = (Item) o;
        if (!other.canEqual((Object) this)) return false;
        final Object this$var1 = this.getVar1();
        final Object other$var1 = other.getVar1();
        if (this$var1 == null ? other$var1 != null : !this$var1.equals(other$var1)) return false;
        final Object this$var2 = this.getVar2();
        final Object other$var2 = other.getVar2();
        if (this$var2 == null ? other$var2 != null : !this$var2.equals(other$var2)) return false;
        final Object this$var3 = this.getVar3();
        final Object other$var3 = other.getVar3();
        if (this$var3 == null ? other$var3 != null : !this$var3.equals(other$var3)) return false;
        final Object this$var4 = this.getVar4();
        final Object other$var4 = other.getVar4();
        if (this$var4 == null ? other$var4 != null : !this$var4.equals(other$var4)) return false;
        final Object this$var5 = this.getVar5();
        final Object other$var5 = other.getVar5();
        if (this$var5 == null ? other$var5 != null : !this$var5.equals(other$var5)) return false;
        final Object this$var6 = this.getVar6();
        final Object other$var6 = other.getVar6();
        if (this$var6 == null ? other$var6 != null : !this$var6.equals(other$var6)) return false;
        final Object this$var7 = this.getVar7();
        final Object other$var7 = other.getVar7();
        if (this$var7 == null ? other$var7 != null : !this$var7.equals(other$var7)) return false;
        final Object this$var8 = this.getVar8();
        final Object other$var8 = other.getVar8();
        if (this$var8 == null ? other$var8 != null : !this$var8.equals(other$var8)) return false;
        final Object this$var9 = this.getVar9();
        final Object other$var9 = other.getVar9();
        if (this$var9 == null ? other$var9 != null : !this$var9.equals(other$var9)) return false;
        final Object this$var10 = this.getVar10();
        final Object other$var10 = other.getVar10();
        if (this$var10 == null ? other$var10 != null : !this$var10.equals(other$var10)) return false;
        return true;
    }

    protected boolean canEqual(final Object other) {
        return other instanceof Item;
    }

    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $var1 = this.getVar1();
        result = result * PRIME + ($var1 == null ? 43 : $var1.hashCode());
        final Object $var2 = this.getVar2();
        result = result * PRIME + ($var2 == null ? 43 : $var2.hashCode());
        final Object $var3 = this.getVar3();
        result = result * PRIME + ($var3 == null ? 43 : $var3.hashCode());
        final Object $var4 = this.getVar4();
        result = result * PRIME + ($var4 == null ? 43 : $var4.hashCode());
        final Object $var5 = this.getVar5();
        result = result * PRIME + ($var5 == null ? 43 : $var5.hashCode());
        final Object $var6 = this.getVar6();
        result = result * PRIME + ($var6 == null ? 43 : $var6.hashCode());
        final Object $var7 = this.getVar7();
        result = result * PRIME + ($var7 == null ? 43 : $var7.hashCode());
        final Object $var8 = this.getVar8();
        result = result * PRIME + ($var8 == null ? 43 : $var8.hashCode());
        final Object $var9 = this.getVar9();
        result = result * PRIME + ($var9 == null ? 43 : $var9.hashCode());
        final Object $var10 = this.getVar10();
        result = result * PRIME + ($var10 == null ? 43 : $var10.hashCode());
        return result;
    }

    public String toString() {
        return "Item(var1=" + this.getVar1() + ", var2=" + this.getVar2() + ", var3=" + this.getVar3() + ", var4=" + this.getVar4() + ", var5=" + this.getVar5() + ", var6=" + this.getVar6() + ", var7=" + this.getVar7() + ", var8=" + this.getVar8() + ", var9=" + this.getVar9() + ", var10=" + this.getVar10() + ")";
    }
}
